package cn.ekuma.epos.datalogic;

import java.util.HashMap;

import cn.trinea.android.common.service.Cache;
import cn.trinea.android.common.service.impl.SimpleCache;

/**
 * Created by Administrator on 2014/12/16.
 */
public class CacheFactory {
    /**
    static HashMap<Class,Cache> cacheHashMap=new HashMap<Class, Cache>();

    public static Cache<T,K> getClassCache(T a,K b){
        Cache cache=cacheHashMap.get(a);
        if(cache==null) {
            cache = new SimpleCache<T,K>();
            cacheHashMap.put(a,cache);
        }
        return cache;
    }**/
}
